package com.hdax.dmw.user.mappers;

import com.hdax.dmw.entity.user.LinkUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author guoyisha
* @description 针对表【dm_link_user(常用联系人表
)】的数据库操作Mapper
* @createDate 2023-06-18 15:13:28
* @Entity com.hdax.dmw.entity.user.LinkUser
*/
public interface LinkUserMapper extends BaseMapper<LinkUser> {

    @Select("select * from dm_link_user where id=#{linkId} and userId=#{userId}")
    LinkUser selectLinkUser(@Param("linkId")Long linkId,@Param("userId")Long userId);

}




